<template>
	<div class="hot_div">
		<ul>
			<li class="hot_li" v-for="(item,index) in selOne"  @click="goodInfo(item.dataType,item.refId)">
				<img :src="item.image" style="width: 100%;height: 100%;">
				<div class="opacity_div tc">
					<p class="country_chinese">{{item.createUserName}}</p>
					<p class="country_english">{{item.createTime}}</p>
				</div>
			</li>
		</ul>
	</div>
</template>
<script>
	export default{
		data(){
			return {

			}
		},
		props:['selOne'],
		methods:{
			goodInfo:function(type,info){
				if(type == 1){
					this.$router.push({
						path: "/goodinfo",
						name:  "goodinfo",
						params:{
							name:"goodInfo",
							goodId: info //   参数名称自定义，obj: 需要传递的参数
						}
					})
				}else{
					return false;
				}

			},
		},
		
	}
</script>
<style rel="stylesheet" scoped>
	@import "../../assets/css/main.scss";
	.hot_div{
		padding:0 0.375rem;
	}
	.hot_div ul{
		overflow: hidden;
	}
	.hot_div ul li:nth-child(3n+1){
		margin-left: 0;
	}
	.hot_div ul li:nth-child(n+4){
		margin-top: 0.2rem;
	}
	
</style>